import { Buffer } from '../polyfill/buffer';

export const CRLF = '\r\n';

export const CRLF_BUFFER = Buffer.from('\r\n');

export const TERMINATOR_BUFFER = Buffer.from('\r\n.\r\n');

export const TERMINATOR_BUFFER_ARRAY = [
Buffer.from('\r\n.\r\n'),
Buffer.from('.\r\n'),
Buffer.from('.')
];

export const MULTI_LINE_COMMAND_NAME = [
  'RETR',
  'TOP'
];

export const MAYBE_MULTI_LINE_COMMAND_NAME = [
  'LIST',
  'UIDL'
];
